package com.boot.ch7;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author onlyone
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,
                                   DataSourceTransactionManagerAutoConfiguration.class })
@ComponentScan({ "com.boot.ch7" })
public class Ch7Application {

    public static void main(String[] args) {
        SpringApplication.run(Ch7Application.class, args);
    }
}
